<?php
/**
 * Created by PhpStorm.
 * User: wangan
 * Date: 2017/2/9
 * Time: 14:05
 */

namespace App\Http\Controllers\Ceb;


use App\Http\Controllers\Ceb\BaseController as Controller;
use Illuminate\Http\Request;

class CommunityController extends Controller
{
    public function index(Request $request){
        return $this->view('community.index',[
            'pageSize' =>20,
        ]);
    }

    public function create(Request $request){
        $screenOption = config("community-screen");
        return $this->view('community.create',[
            'screenOption'=>$screenOption,
        ]);
    }

    public function edit(Request $request){
        $screenOption = config("community-screen");
        return $this->view('community.edit',[
            'screenOption'=>$screenOption,
            'screenOption'=>$screenOption,
        ]);
    }

    public function store(Request $request){

    }


}